home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-20
/
rbd103.zip
/
RBD.DOC
< prev
next >
Wrap
Text File
|
1991-04-26
|
4KB
|
81 lines
Resistor Band Decoder
Version 1.03
by
Robert L. Deschambault
────────────────────────────
Solution Infinity
1608-20 Edgecliffe Golfway
Don Mills, Ontario, Canada
M3C 3A4
(416) 425-1451
────────────────────────────
Do you have trouble remembering the standard resistor color
codes and have fits trying to apply the multiplier? Well here
is a simple utility which makes extensive use of the IBM extended
character set and the 16 colors available in EGA/VGA 80 column
color text mode which makes it easy to get any resistor value.
The Resistor Band Decoder (rbd.exe) is a small useful utility
which will give the value in ohms of a standard resistor given
the color of the bands which appear on the resistor. The program
is simple enough to use, just start the program and it will prompt
you for a two letter code for each band. The codes are available
on the screen at all times. A representation of the resistor
appears on the screen, and the color bands will appear as you enter
the codes for each band. Once you have entered all four color
bands, the resistor value and tolerance is displayed. A prompt
to decode more resistors appears on the screen. The program
terminates when you do not want to decode any more resistors.
The program is written in C and was compiled using Borland's
Turbo C++ Version 1.00 compiler. It should run on any IBM
compatible (80x86) with an EGA/VGA color display. The program
does have some editing capabilities when entering the two letter
resistor codes, if you find you have made a mistake just backspace
and enter the correct letter(s) before pressing <ENTER>. If the
code is not valid the prompt will simply move back two spaces and
allow another entry. The program will not accept entries longer
than two letters and will not allow you to backspace beyond the
prompt. The program does check to see if the color code is valid
for the given band, however the program does not know the standard
values of resistors that are available. Hence it is possible to
enter a valid code (yellow, yellow, red, silver, 4.4 kΩ ±10% for
example) for which no standard resistor exists.
If you should find the utility useful, or have any suggestions
or comments, please drop me a line. If you really like it, please
consider a small $5.00 donation. Depending on the response, I
will release a shareware version of this product, along with
any other related utilities you would like to see. Make the check
or money order payable to: SOLUTION INFINITY.
Solution Infinity is a small software development company. It
is interested in developing graphical and other science and
engineering related software. Custom solutions to situations in
the laboratory are readily achieved. If you are interested in
these or other related services, please contact:
Robert Deschambault
Solution Infinity
1608-20 Edgecliffe Golfway
Don Mills, Ontario, Canada
M3C 3A4
(416) 425-1451
Thank you for your time. Hope you like my Resistor Band Decoder.